package kr.hkit.powerjava.chapter06;

import java.util.Scanner;

public class Pro4 {
	public static void main(String[] args) {
		int a;
		int b;
		int c;
		
		Scanner input = new Scanner(System.in);
		System.out.print("정수를 입력하시오: ");
		a = input.nextInt();
		System.out.print("정수를 입력하시오: ");
		b = input.nextInt();
		System.out.print("정수를 입력하시오: ");
		c = input.nextInt();
		
		if (a < b && a < c)
			System.out.print("가장 작은 값은: "+ a);
		if (b < a && b < c)
			System.out.print("가장 작은 값은: "+ b);
		if (c < a && c < b)
			System.out.print("가장 작은 값은: "+ c);
			
	}

}
